package demo;

public class test {
    public static void main(String[] args) {
        Land myLand1 = new Rice();
        Land myLand2 = new Wheat();
        Land myLand3 = new Cron();
        myLand1.plant();
        myLand2.plant();
        myLand3.plant();
    }
}
